package com.atguigu.day02;

public class Test5 {

    public static void main(String[] args) {
        int a = 20, b = 20;
        boolean bo = (((++a) % 3) == 0) && ((a++ % 7) == 0);
        boolean bo2 = (((b++) % 3 == 0) && ((++b % 7 == 0)));
        System.out.println("bo的值:" + bo + "\na的值:" + a + "\n------------");
        System.out.println("bo2的值:" + bo2 + "\nb的值:" + b);
    }
}
/*
bo的值:true
a的值:22
------------
bo2的值:false
b的值:21
 */